package com.ym.manager.admin.act.model;

import java.util.List;

public class Act {

    /*主键id*/
    private int id;
    /*店家id*/
    private int merchant_id;
    /*名称*/
    private String name;
    /*开始时间*/
    private String start;
    /*结束时间*/
    private String over;
    /*logo*/
    private String pic;
    /*备注*/
    private String remark;
    /*状态  1否 2是*/
    private int status;
    /*排序值*/
    private int idx;
    /*创建时间*/
    private String create_time;
    /*点击次数*/
    private int count;
    /*删除状态 1已删除 0未删除*/
    private int is_del;
    /*类型 1商品活动 2预约活动*/
    private int type;
    /*万能跳地址*/
    private String jump;
    /*规则文案*/
    private String rule;
    /*活动背景图*/
    private String background;
    /*分享海报图*/
    private String poster;
    /*预约支付金额*/
    private int subscribeMoney = 0;
    /*核销奖励金额*/
    private int reward = 0;
    /*关联产品*/
    private List<String> promoteGoods;
    /*关联产品字符串*/
    private String promoteGoodsStr;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getMerchant_id() {
        return merchant_id;
    }

    public void setMerchant_id(int merchant_id) {
        this.merchant_id = merchant_id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getStart() {
        return start;
    }

    public void setStart(String start) {
        this.start = start;
    }

    public String getOver() {
        return over;
    }

    public void setOver(String over) {
        this.over = over;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getIdx() {
        return idx;
    }

    public void setIdx(int idx) {
        this.idx = idx;
    }

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public int getIs_del() {
        return is_del;
    }

    public void setIs_del(int is_del) {
        this.is_del = is_del;
    }

    public List<String> getPromoteGoods() {
        return promoteGoods;
    }

    public void setPromoteGoods(List<String> promoteGoods) {
        this.promoteGoods = promoteGoods;
    }

    public String getPromoteGoodsStr() {
        return promoteGoodsStr;
    }

    public void setPromoteGoodsStr(String promoteGoodsStr) {
        this.promoteGoodsStr = promoteGoodsStr;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getJump() {
        return jump;
    }

    public void setJump(String jump) {
        this.jump = jump;
    }

    public String getRule() {
        return rule;
    }

    public void setRule(String rule) {
        this.rule = rule;
    }

    public String getBackground() {
        return background;
    }

    public void setBackground(String background) {
        this.background = background;
    }

    public String getPoster() {
        return poster;
    }

    public void setPoster(String poster) {
        this.poster = poster;
    }

    public int getSubscribeMoney() {
        return subscribeMoney;
    }

    public void setSubscribeMoney(int subscribeMoney) {
        this.subscribeMoney = subscribeMoney;
    }

    public int getReward() {
        return reward;
    }

    public void setReward(int reward) {
        this.reward = reward;
    }

    public void initJump() {
        this.jump = "tbyy://details_templet"+this.type+"?id="+this.id+"&title="+this.name;
    }
}
